package com;

import com.Tokiu.Service.AccountInter;
import com.Tokiu.config.SpringConfirguration;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TransferDemo {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(SpringConfirguration.class);

        AccountInter bean = context.getBean(AccountInter.class);

        bean.transfer("张三","李四",500D);

        context.close();
    }
}
